<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.guoyu.gserv.entity.UserInfo"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>My JSP 'sortInfo.jsp' starting page</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">

		<link rel="stylesheet" type="text/css" href="style.css">


	</head>

	<body>
		<div style="background-color: #bdd9ee; width: 663px">
			<img src="css/img/extanim32.gif" width=20px height=20px />
			您现在的位置：
			<b><span style="color: #FF0000; font-family: '华文楷体'">类别管理</span>
			</b>
		</div>
		<div id="all"
			style="width: 600px; solid; border-width: 1px; margin: 0 auto;">

			<div id="middle">
				<div id="middle-left"
					style="height: 450px; width: 395px; display: inline;">
					<table border="0" width="663px" cellspacing="1" cellpadding="0" style="word-break:break-all;" bgcolor="#bdd9ee" align="left">
						<h2>
							供应
						</h2>
						<tr
							style="background-color:#F9F9F9; height:30px; font-weight:bold; font-size:16px">
							<td style="text-align: center;" width="80">
								呼叫类别
							</td>
							<td style="text-align: center;">
								类别描述
							</td>
							<td style="text-align: center;">
								种类
							</td>
							<td style="text-align: center;">
								操作
							</td>
						</tr>
						<tr class="CallCSS" onmouseover="this.style.backgroundColor='#F9F9F9';" onmouseout="this.style.backgroundColor='';">
							<td  colspan=4 bgcolor=#f9f9f9
								style="text-align: center; line-height:150%; border-top:#f9f9f9 solid 1px;border-left:" height="30">
								<s:if test="null==callSortList">没有相关信息</s:if>
							</td>
						</tr>
						<s:iterator value="callSortList" id="callSort"
							status="callSort_stat">

							<s:url id="del" action="Pro_delCallSort" namespace="/system">
								<s:param name="callSort.sortId" value="sortId" />
							</s:url>
							<s:url id="update" action="Pro_getCallSortById"
								namespace="/system">
								<s:param name="callSort.sortId" value="sortId" />
							</s:url>
							<tr class="CallCSS" onMouseOver="this.style.backgroundColor='#ccffff';" onMouseOut="this.style.backgroundColor='#FBF4F4';">
								<td style="text-align:center;">
									<s:property value="callSortName" />
								</td>
								<td>
									<s:property value="callSortDis" />
								</td>
								<td>
									<s:property value="category.categoryName" />
								</td>
								<td>
									<a href="${update}"><img src="css/img/bt_edit.gif" border=0 alt="修改"></a>&nbsp;
									<a href="${del}"><img src="css/img/bt_del.gif" border=0 alt="删除"></a>
								</td>
							</tr>
						</s:iterator>
						<tr bgcolor="#f9f9f9">
							<td colspan="4">
								<input type="button" value="添加"
									onclick="javascript:location.href='Pro_getCateAll.shtml'" />
								<input type="button" value="全部信息"
									onclick="javascript:location.href='Pro_getCallSortAll.shtml'" />
							</td>
						</tr>
					</table>
				</div>
			</div>
		</div>
	</body>
</html>
